package com.service.admin.trading.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.trading.controller.rep.SpotOrderDetailRep;
import com.service.admin.trading.controller.rep.SpotOrderPageRep;
import com.service.admin.trading.controller.req.CancelOrderReq;
import com.service.admin.trading.controller.req.SpotOrderPageReq;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.TradingSpotOrder;

public interface TradingSpotOrderService extends IService<TradingSpotOrder> {

    CommonPageRep<SpotOrderPageRep> pageOrder(SpotOrderPageReq pageReq);

    SpotOrderDetailRep orderDetail(String orderNo);

    void applyBatchCancelSpotOrder(CancelOrderReq cancelOrderReq);

    void applyCancelSpotOrder(String tradeNo);

}
